﻿<?php

include_once "../../lib/init.php";
$mySqlHelper = new MySqlHelper();
//一页显示多少条
$length=10;

$sqlCount = "select count(*) from log_sheet";

//获得总条数的下标
$rowCount =$mySqlHelper->mGetOne($sqlCount);
$page=new PageNew($rowCount[0],$length);

$sql="select * from log_sheet order by id {$page->limit}";
$res = $mySqlHelper->getRowsArray($sql);

require_once ROOT."/view/home/index.html";




